<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>addProducts</title>
    <link rel="StyleSheet" href="/css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>

<div id="Content">

    <div id="BackLink">
        <a href="/admin/main">Return to Main</a>
    </div>

    <div id="Catalog">
        <form action="/admin/AddItem" method="post">
        <table>
            <tr>
                <td>productId:</td>
                <td th:text="${productId}">
                    productId
                </td>
                <input id= "productId"type="hidden" name="product.productId" th:value="${productId}">
            </tr>
            <tr>
                <td>ItemId:</td>
                <td>
                    <input id= "ItemId"type="text" name="itemId" >
                </td>
            </tr>
            <tr>
                <td>ListPrice:</td>
                <td>
                    <input id= "ListPrice"type="text" name="listPrice">
                </td>
            </tr>
            <tr>
                <td>UnitCost:</td>
                <td>
                    <input id= "UnitCost"type="text" name="unitCost">
                </td>
            </tr>
            <tr>
                <td>Supplier:</td>
                <td>
                    <input id= "Supplier"type="text" name="supplierId">
                </td>
            </tr>
            <tr>
                <td>Status:</td>
                <td>
                    <input id= "Status"type="text" name="status">
                </td>
            </tr>
            <tr>
                <td>Attribute1:</td>
                <td>
                    <input id= "Attribute1"type="text" name="attribute1">
                </td>
            </tr>
            <tr>
                <td>Attribute2:</td>
                <td>
                    <input id= "Attribute2"type="text" name="attribute2">
                </td>
            </tr>
            <tr>
                <td>Attribute3:</td>
                <td>
                    <input id= "Attribute3"type="text" name="attribute3">
                </td>
            </tr>
            <tr>
                <td>Attribute4:</td>
                <td>
                    <input id= "Attribute4"type="text" name="attribute4">
                </td>
            </tr>
            <tr>
                <td>Attribute5:</td>
                <td>
                    <input id= "Attribute5"type="text" name="attribute5">
                </td>
            </tr>
        </table>
            <input id="newItem" type="submit" name="addProduct" value="Add"/>
        </form>

    </div>


</div>

</body>
</html>